﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Slb.Ocean.Petrel.UI;
using Slb.Ocean.Petrel.DomainObject.Well;
using Slb.Ocean.Core;
using Slb.Ocean.Petrel.UI.Style;

namespace Public.Ocean.Petrel.Extensions.DomainObject
{
    public static class BoreholePresentationExtensions
    {
        /// <summary>
        /// Presentation for the specified borehole.
        /// </summary>
        /// <param name="borehole">The borehole.</param>
        /// <returns></returns>
        public static IBoreholePresentation Presentation(this Borehole borehole)
        {
            return CoreSystem.GetService<IBoreholePresentationFactory>(borehole).GetBoreholePresentation(borehole);
        }
    }
}
